package com.hm.ipay.dao;

import com.hm.ipay.entity.GameInstance;

import java.util.List;
import java.util.Map;

public interface GameInstanceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GameInstance record);

    int insertSelective(GameInstance record);

    GameInstance selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GameInstance record);

    int updateByPrimaryKey(GameInstance record);

    List<GameInstance> gameInstanceList(Map map);

    int countAllGame();

    int countByStatus(Integer status);

    List<GameInstance> selectByStatus(Integer status);

    List<GameInstance> gameInstanceListSort(Map map);
}